home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / PDriver / s / CheckFeatu < prev    next >
Text File  |  1995-08-26  |  1KB  |  31 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    PDriver.CheckFeatu.s
  11. ;   Author:  Copyright © 1993 Jason Howat
  12. ;   Version: 1.00 (06 Jul 1993)
  13. ;   Purpose: Check the features of a printer and return an error
  14. ;            if appropriate.
  15.  
  16.         GET     ^.h.regdefs
  17.         GET     ^.h.swinos
  18.         GET     ^.h.macros
  19.  
  20. ; os_error *PDriver_CheckFeatures(print_features mask, print_features value);
  21.  
  22.         PREAMBLE
  23.         STARTCODE PDriver_CheckFeatures
  24. ;
  25.         STMFD   sp!, {lr}
  26.         SWI     SWI_PDriver_CheckFeatures + XOS_Bit
  27.         MOVVC   a1, #0
  28.         LDMFD   sp!, {pc}^
  29. ;
  30.         END
  31.